// Selenium Server Fx Extension
swfobject.realEmbedSWF = swfobject.embedSWF;

swfobject.embedSWF = function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
	var qString = $H(parObj).toQueryString();
	var newSWFUrlStr = "runtimeloading.swf?automationswfurl="+swfUrlStr+"?"+qString;
	return swfobject.realEmbedSWF(newSWFUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj);
};
